-- GENERATED SPELL FOR [Guardian of Icecrown] --


function spell0_16441(pUnit, Event) --@Blood Tap,n/a--
pUnit:FullCastSpellOnTarget(28470,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16441', 624, 1)
end

function Sorts_16441(pUnit, Event)
local choix_sorts_16441 = math.random(0, 0)
if choix_sorts_16441 == 0 then
pUnit:RegisterEvent('spell0_16441', 1, 1)
end
end

function mob16441_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16441', math.random(1500, 3000), 1)
end

function mob16441_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16441_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16441_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16441, 1, 'mob16441_Action')
RegisterUnitEvent(16441, 2, 'mob16441_Leave')
RegisterUnitEvent(16441, 3, 'mob16441_Kill')
RegisterUnitEvent(16441, 4, 'mob16441_Die')
